package com.obas.monitor.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import com.obas.monitor.PolicyServer;

@Deprecated
public class ItestMonitorListener implements ServletContextListener {
   public static final int PORT = 33789;
   public PolicyServer policyServer = null;

   public void contextDestroyed(ServletContextEvent event) {

   }

   public void contextInitialized(ServletContextEvent event) {
//      IoHandlerAdapter handler = new ItestHandler();
      try {
//         MessageProcessor.init(handler, PORT, MessageProcessor.RECORD);
    	  
//          policyServer = new PolicyServer();
//          policyServer.start();
      } catch (Exception e) {
         e.printStackTrace();
      }
   }

}
